package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @author:hxw
 * @date  :2023/1/16
 * @desc  :
 */
@Parcelize
class MatchListResponse(

    var total: Int = 0,
    var data: ArrayList<DataList> = arrayListOf()

) : Parcelable {

    /**
     * 数据是否为空
     */
    fun isEmpty() = data == null || (data as List<*>).isEmpty()

    @Parcelize
    class DataList(

        var id: Int = 0,
        var orgId: Int = 0,
        var name: String = "",
        var statusDes: String = "",
        var createdAt: String = "",
        var sponsor: String = "",
        var racingPassId: Int = 0,
        var orgType: Int = 0//2-公棚

    ) : Parcelable
}